﻿namespace LyrDB_Test_Harness
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//using iTunesLib;

using LyrDB_Test_Harness.Properties;
using LyrDBAccess;

    /// <summary>
    /// Demo console program for lyrDBAccess wrapper class
    /// </summary>
public class Program
    {
        /// <summary>
        /// Main entry point for console demo program.
        /// </summary>
        /// <param name="args">The args.</param>
        public static void Main(string[] args)
        {
            string result;

            LyricsDB lyrics = new LyricsDB("ConsoleTestHarness");

            // Settings myValues = new Settings();
            Console.WriteLine("********* Started GetLyircs ***********************\n");
           
            if (lyrics.GetLyrics("Kate Bush", "Hounds Of Love", out result))
            {
                Console.WriteLine(result);
            }
            else
            {
                Console.WriteLine("Failed to retireve lyrics.");
            }
            Console.WriteLine("********* Started GetSongListByArtistName ***********************\n");

            if (lyrics.GetSongListByArtistName("Kate Bush", out result))
            {
                Console.WriteLine(result);
            }
            else
            {
                Console.WriteLine("Failed to retireve song list.\n\t" + result);
            }

            Console.WriteLine("\n********************* Finished *********************************");
            Console.ReadKey();
        }
    }
}
